<?php

namespace app\common\model\server;

class PhotoModel
{
    public function __construct()
    {
        $this->logic = model('logic.photo');
    }

    //保存添加
    public function saveAdd($data)
    {
        return  $this->logic->saveAdd($data);
    }

    //保存添加
    public function getPhotoInfo($data)
    {
        return  $this->logic->getPhotoInfo($data);
    }

    //获取列表方法
    public function getListPage($data)
    {
        return $this->logic->getListPage($data);
    }
}
